TARGET = AlineaColores
OBJS = ./obj/backend.o ./obj/frontend.o ./obj/getnum.o
SOURCES = ./src/frontend.c ./src/backend.c ./src/getnum.c

CFLAGS = -Wall -O -Wuninitialized -g


.SILENT:

$(TARGET): $(OBJS)
	gcc -o $(TARGET) $(OBJS) -lm 
	mv $(TARGET) ./bin

./obj/backend.o: ./inc/defs.h

./obj/frontend.o: ./inc/defs.h



$(OBJS) : $(SOURCES) 
	gcc -c $(SOURCES)
	mv *.o ./obj
